#include <rtthread.h>
#include <rtdevice.h>

#define PROTOCOL_HEADER (0x55)
#define PROTOCOL_COMMAND_REPORT (0x01)

#define PROTOCOL_CHANNEL_1 (0x00)
#define PROTOCOL_CHANNEL_2 (0x01)
#define PROTOCOL_CHANNEL_3 (0x02)
#define PROTOCOL_CHANNEL_4 (0x03)

void protocol_report_data(uint8_t ch, float value);
